home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / GNUSED.ZIP / sed / ChangeLog < prev    next >
Encoding:
Text File  |  1995-12-31  |  14.1 KB  |  443 lines

  1. ------ sed 3.00 ------
  2.  
  3. Sat Dec 30 20:16:59 1995  Tom Lord  <lord@beehive>
  4.  
  5.     * sed.c: Use posix entry points to regexp functions.
  6.     Fix enough bugs to pass the test-suite.
  7.  
  8. ....... Jason Molenda  <crash@cygnus.com>
  9.  
  10.     * testsuite/: trippy test suite.
  11.  
  12.  
  13. ------ sed 2.05 ------
  14.  
  15. Wed May 11 07:46:24 1994  Chip Salzenberg  (chip@fin.uucp)
  16.  
  17.     * sed.c (compile_address): Recognize numeric addresses.
  18.     Fixes typo made during installation of "~" feature.
  19.  
  20. ------ sed 2.04 ------
  21.  
  22. Sat Apr 30 17:17:38 1994  Tom Lord  (lord@x1.cygnus.com)
  23.         * sed.c: applied a patch from 
  24.        From: kap1@tao.cpe.uchicago.edu (Dietrich Kappe)
  25.  
  26.        Dietrich writes:
  27.  
  28.        As my contribution to the creeping feature creature in sed,
  29.        here is a new type of address. The address has form n~m,
  30.        which means "the line number is equal to n modulo m." The
  31.        modifications to sed are trivial, and the general
  32.        usefulness of this address should be obvious. If m is 0 or
  33.        missing, 1 is used in its place (could be a bug or a
  34.        feature :-).
  35.  
  36. Sat Apr 30 17:17:38 1994  Tom Lord  (lord@x1.cygnus.com)
  37.  
  38.     * rx.c (solve_destination): protect `solution' more carefully.
  39.     This is a cleanup of a patch from Kevin Buettner
  40.        (kev@cujo.geg.mot.com).
  41.  
  42. Sat Apr 30 17:17:38 1994  Tom Lord  (lord@x1.cygnus.com)
  43.  
  44.     * rx.c: make translation tables unsigned chars
  45.  
  46.     * sed.c (main): Compile accumulated -e commands as
  47.     soon as a -f command comes along.  This ensures that
  48.     the commands are executed in the right order.
  49.  
  50. Mon Oct 25 14:41:47 1993  Tom Lord  (lord@rtl.cygnus.com)
  51.  
  52.     * sed.c (execute_program): 'w' flushes the buffer after it
  53.     writes -- diagnosed by doug@research.att.com.  'r' and 'w' to
  54.     the same file is now supported -- hopefully even in a way that
  55.     satisfies Posix (it now behaves differently from some
  56.     /bin/sed's and the spec is hard to read so i'm not sure).
  57.  
  58.     Also, 'r' of a non-existent file is now permitted.
  59.  
  60. Mon Oct 11 21:06:10 1993  Tom Lord  (lord@cygnus.com)
  61.  
  62.     * sed.c (execute_program): remember that 'b' and 't' are more
  63.     like longjmp than goto.  Patch from tom@basil.icce.rug.nl (Tom
  64.     R.Hageman) 
  65.  
  66.     * rx.c: patch from From: fin!chip@rutgers.edu (Chip
  67.     Salzenberg) to get rid of compiler warnings.
  68.  
  69.  
  70. ------ sed 2.03 ------
  71.  
  72. Sat Aug  7 01:04:59 1993  Tom Lord  (lord@unix7.andrew.cmu.edu)
  73.  
  74.     * sed.c (compile_regex): report error messages for bogus
  75.     regexps.
  76.  
  77.     SEE ALSO:  ChangeLog.rx
  78.  
  79.  
  80. ------ no version information ------
  81.  
  82. Wed Jul 21 00:28:03 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  83.  
  84.     * alloca.c: upgraded to a more recent version
  85.  
  86.     * rx.c (re_search_2): prefer matches with longer
  87.     subexpressions to those with shorter ones, giving precedence
  88.     to low numbered subexpressions.
  89.  
  90.     * rx.c (re_compile): don't free `params' if its null.
  91.  
  92. Fri Jul 16 01:12:08 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  93.  
  94.     * rx.[ch], sed.c: rx replaces regex.
  95.  
  96.  
  97.  
  98. Thu May 27 11:13:03 1993  Tom Lord  (lord@unix3.andrew.cmu.edu)
  99.  
  100.     * sed.c (execute_program, match_addr): caught more cases
  101.     that need to be sensitive to a missing \n at EOF.
  102.  
  103. Fri May 21 00:39:22 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  104.  
  105.     * sed.c (execute_program): apply gaumondp's patch
  106.       to fix '\xabcxs/foo/bar/'.
  107.  
  108.     * sed.c (execute_program):
  109.       If a second address is a regexp, never match it on the
  110.       same line as the first address.
  111.       
  112.     * sed.c (compile_regexp): 
  113.       Numeric ranges  x,y s.t. y < x are now treated as x,x.
  114.       There was a bug in that they were being handled like x,x+1.
  115.  
  116.     * sed.c (execute_program, read_pattern_space,
  117.       append_pattern_space) don't add newlines to lines
  118.       that don't have them.
  119.  
  120. Wed May 19 13:34:45 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  121.  
  122.     * sed.c (compile_program): grok \\n in comments.
  123.  
  124. Mon May 17 16:34:50 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  125.  
  126.     * alloca.c: new (standard) file
  127.  
  128.     * configure.in: AC_CONSTified
  129.  
  130.     * sed.c (compile_program): properly diagnose the error of
  131.     a missing command (e.g. sed /x/). (thanks gaumondp)
  132.  
  133.     * sed.c (compile_regexp): handle character classes correctly.
  134.     Thanks gaumondp@ERE.UMontreal.CA
  135.     and  schwab@issan.informatik.uni-dortmund.de.
  136.  
  137. Thu May  6 12:37:18 1993  Tom Lord  (lord@unix10.andrew.cmu.edu)
  138.  
  139.     * sed.c (compile_filename, execute_program): don't use
  140.     `access' or `/dev/null'.
  141.  
  142.     * sed.c (execute_program): 'N' at EOF should delete the pat buf.
  143.  
  144.     * sed.c (compile_filename): truncate, don't append files
  145.     being openned for `w' or `s///w'
  146.  
  147.     * sed.c (execute_program): -n switch shouldn't effect `i' or `c'.
  148.  
  149.     * sed.c (compile_program): don't compile unescaped newlines
  150.     into the substitution string of an `s' command (they are an error).
  151.  
  152.     * sed.c (compile_regex): correctly skip over character
  153.     sets that contain `]'.
  154.  
  155.     * sed.c (execute_program): patch from gaumondp
  156.     Correctly handle empty-string matches in the case of an `s'
  157.     command with a repeat count.
  158.  
  159.     * sed.c (compile_program): patch from gaumondp@ere.UMontreal.ca.
  160.     Don't consume characters after the label of a `b', `t' or `:' command.
  161.  
  162.     * sed.c (compile_program): unmatched open braces are an error.
  163.  
  164.     * sed.c (compile_file): when consuming an initial comment,
  165.     count lines correctly.
  166.  
  167. Wed Nov 18 02:10:58 1992  Tom Lord  (lord@unix2.andrew.cmu.edu)
  168.  
  169.     * sed.c (execute_program): Made s///p print even if -n was
  170.     specified.
  171.  
  172.     * sed.c (compile_string): Changed the type of this function to
  173.     fix a compile warning.
  174.  
  175. Wed Nov  4 17:15:34 1992  Tom Lord  (lord@unix7.andrew.cmu.edu)
  176.  
  177.     * sed.c (main): Initialize the hold area to contain "\n"
  178.     instead of "".  In execute_program, all lines are expected
  179.     to be newline terminated.  Also, if H is the first command
  180.     in the script, the result is a pattern buffer that begins
  181.     with a blank line.  Thanks to pinard@iro.umontreal.ca
  182.     (Francois Pinard) for pointing out this and many other bugs.
  183.  
  184.     * sed.c (execute_program): Fixed a case of `D' command.
  185.       Thanks Chris Weber <weber@bucknell.edu>
  186.  
  187.     * sed.c: added new tests of no_default_output to make -n work.
  188.       Thanks Andrew Herbert <andrew@werple.apana.org.au>
  189.  
  190.     * sed.c, configure.in,Makefile.in: autoconfed bcopy and const.
  191.       Thanks "J.T. Conklin" <jtc@gain.com>
  192.  
  193.     * sed.c: made prog_cur, prog_start, and prog_end unsigned so
  194.     that users could write  `sed -e s/ /foo/g'.
  195.  
  196. Tue Oct 13 00:04:05 1992  Tom Lord  (lord@unix3.andrew.cmu.edu)
  197.  
  198.     * sed.c (execute_program): fixed the cycling behavior of 'D'
  199.  
  200.     * sed.c: integrated patch that closes files
  201.  
  202.     * sed.c: changed regexp syntax
  203.  
  204. Fri May 22 15:11:12 1992  Tom Lord  (lord at moriarty.bh.andrew.cmu.edu)
  205.  
  206.     * regex.c:  this is not my change, but a pointer to the fact
  207.     that karl@gnu fixed some regexp bugs that were plaguing sed.
  208.  
  209. Thu Apr 30 13:02:21 1992  Tom Lord  (lord at unix3.andrew.cmu.edu)
  210.  
  211.     * sed.c (compile_program, execute_program)
  212.     subprograms are now compiled with an explicit continuation ;)
  213.     return_v and return_i in struct vector.  execute_program
  214.     no longer recurses to execute subprograms (case '{') and now
  215.     understands a return instruction (case '{').
  216.  
  217. Tue Apr 28 17:13:04 1992  Tom Lord  (lord at unix7.andrew.cmu.edu)
  218.  
  219.     * sed.c (compile_address) added \?regexp? syntax for addresses.
  220.  
  221.     * sed.c (main) added {} intervals to the obscure regexp
  222.       syntax.
  223.  
  224.     * sed.c (compile_program)  after calling compile_address,
  225.       normalize numeric addresses (make a2.addr_number > a1.addr_number).
  226.       This is necessary because line numbers must match exactly, 
  227.       but sed does not try to match a2 until after a1 has matched,
  228.       yet a1,a2 where a2 <= a1 is defined to be equivelent to
  229.       a1,a1+1
  230.  
  231. Sat Feb 29 10:55:54 1992  David J. MacKenzie  (djm@nutrimat)
  232.  
  233.     * sed.c (usage): Document long options as starting with `--'.
  234.  
  235. Mon Dec  9 23:56:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  236.  
  237.     * sed.c: Include sys/types.h, for new regex.h.
  238.  
  239. Tue Nov  5 02:16:01 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  240.  
  241.     * utils.c: Change NO_VFPRINTF to VPRINTF_MISSING, for
  242.     compatibility with autoconf.
  243.  
  244. Mon Sep  2 22:02:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  245.  
  246.     * sed.c (compile_regex): Treat \ as a normal character when in
  247.     a char class.
  248.  
  249. Thu Aug  8 00:15:33 1991  David J. MacKenzie  (djm at bleen)
  250.  
  251.     * Version 1.08.
  252.  
  253.     * sed.c (compile_filename): If reading a file fails, read
  254.     /dev/null instead.  It's what Unix and POSIX do, effectively.
  255.  
  256.     * sed.c (compile_regex): The 'slash' character doesn't
  257.     terminate the regex if it's in a character class.
  258.  
  259.     * sed.c (main): If given no args, or bad option, print usage
  260.     message.
  261.     (usage): New function.
  262.  
  263.     * sed.c (execute_program): Amount written for 'P' command was
  264.     wrong.  From stephend@ksr.com (Stephen Davis).
  265.  
  266. Wed Aug  7 16:51:14 1991  David J. MacKenzie  (djm at apple-gunkies)
  267.  
  268.     * sed.c (append_pattern_space): Check for buffer full before
  269.     instead of after writing to buffer.  Don't need to test for
  270.     EOF initially anymore, due to the next change.
  271.     (execute_program): For 'n' and 'N' commands, if eof is reached
  272.     in input, quit the script like Unix sed does.
  273.     Fix memory allocation problems for 'a' and 'r' commands.
  274.     (compile_program): Fix off by one error in processing comments.
  275.     All of the above are from Tapani Tarvainen, tarvaine@tukki.jyu.fi.
  276.  
  277.     * sed.c (setup_jump): Use isblank instead of testing for ' '
  278.     or '\t', for POSIX locales.
  279.  
  280.     * utils.c (ck_strdup): Renamed from strdup.
  281.     * sed.c: Change callers.
  282.  
  283.     * sed.c, utils.c: Clean up declarations and includes to get
  284.     rid of compiler warnings.
  285.  
  286.     * sed.c (main): Add long-named options.  Don't complain if -n
  287.     is given twice.
  288.  
  289. Fri Aug  2 12:33:16 1991  David J. MacKenzie  (djm at apple-gunkies)
  290.  
  291.     * configure: Support +srcdir arg.  Create config.status and
  292.     remove it and Makefile if interrupted while creating them.
  293.     * Makefile.in: Change DESTDIR to prefix.
  294.  
  295. Mon Jul 15 13:07:39 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  296.  
  297.     * sed.c (main): Add -V option to print version number.
  298.     (USAGE): Mention -V.
  299.  
  300. Mon Jul  8 01:42:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  301.  
  302.     * sed.c: Define bcopy in terms of memcpy if STDC_HEADERS as
  303.     well as if USG.
  304.     (compile_filename): Don't glob filename (for 'r' and 'w'
  305.     commands).  Unix sed doesn't do it and it's not very useful,
  306.     since it can only match 0 or 1 files.
  307.     (execute_program): Change '\a' to 007 since some compilers
  308.     don't recognize \a.
  309.     * utils.c: New file; code moved from sed.c.
  310.     * Replace Makefile with Makefile.in and configure.
  311.     Update README.
  312.  
  313. Tue Mar 26 13:00:48 EST 1991    Jay Fenlason (hack@gnu.ai.mit.edu)
  314.  
  315.     * sed.c (match_address)  Added a trivial cast for portability.
  316.  
  317. Mon Feb 25 13:23:29 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  318.  
  319.     * sed.c  Changed 's' command to work with latest version of regex()
  320.     routines, which mysteriously changed somewhere in there. . .
  321.     A one-line patch from David Eckelkamp (eckelkamp@mcc.com).
  322.  
  323.     Initialize the fastmap in the hopes that it'll make sed faster.
  324.  
  325. Thu Feb 21 13:42:27 EST 1991    Jay Fenlason (hack@ai.mti.edu)
  326.  
  327.     * sed.c Change panic to compile with other __STDC__ compilers.
  328.  
  329. Wed Jan 30 10:46:38 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  330.  
  331.     * sed.c  Changed version number.  Made new release.
  332.  
  333. Tue Nov 27 15:34:51 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  334.  
  335.     * sed.c (setup_jump)  Don't blow chunks if there isn't a label
  336.     after a b or t command.
  337.  
  338.         (main) Don't panic if it a branch command doesn't have
  339.     a label to branch to.
  340.  
  341.         (main)  Collect all the -e arguments together and parse them
  342.     all at once.  This way, -e { -e mumble -e } will work.
  343.  
  344.     All these small patches from David Schmidt (davids@isc-br.isc-br.com)
  345.  
  346. Tue Sep 11 12:51:37 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  347.  
  348.     * sed.c Changed some function forward declarations to use VOID *
  349.     instead of char *
  350.  
  351. Mon Jul 16 11:12:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  352.  
  353.     * sed.c (ck_malloc)  Use malloc(1) instead of malloc(0) if given
  354.     a request for zero bytes.
  355.  
  356. Tue Jun  5 02:05:37 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  357.  
  358.     * sed.c: Remove excess newlines from calls to panic.
  359.     Reformat some comments to fit in 79 columns.
  360.     Base whether to use void * on __STDC__, not __GNU__.
  361.     (main): Add missing arg when printing usage message.
  362.     Print usage if given invalid arg.
  363.     (panic) [__STDC__]: Add missing ", ...".
  364.     (compile_filename): Print correct error message if glob_filename
  365.     returns NULL.
  366.  
  367. Thu Apr  5 21:41:12 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  368.  
  369.     * sed.c (execute_program, case 'r'): When need to realloc append.text,
  370.     multiply append.alloc by 2 instead of adding
  371.     cur_cmd->x.cmd_txt.text_len.
  372.  
  373. Tue Mar  6 15:55:35 EST 1990 Jay Fenlason (hack@ai.mit.edu)
  374.  
  375.     * sed.c (compile_regex)  Allocate 10 bytes extra space needed by
  376.     re_compile_pattern.
  377.  
  378. Sun Feb 25 16:32:10 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  379.  
  380.     * sed.c (execute_program, case 'l'): Print \00 instead of \0.
  381.     Print backslash as \\ not \.
  382.     Print \xx instead of /xx.
  383.  
  384. Thu Feb  1 14:02:28 EST 1990        hack@wookumz
  385.  
  386.     * sed.c (memchr)  Use () inside inner loop so it will work correctly.
  387.     A two character patch from Robert A Bruce (rab@allspice.berkeley.edu)
  388.  
  389. Wed Sep 27 18:47:39 EDT 1989        hack@ai.mit.edu
  390.  
  391.     * sed.c (compile_regex)  New function.  When compiling regex,
  392.     turn ^ into \` and $ into \' so that they won't match on embedded
  393.     newlines.  UN*X    pattern matching is a crock.
  394.     (compile_program, compile_address) call compile_regex.
  395.  
  396. Mon Sep 18 10:15:32 EDT 1989        hack@ai.mit.edu
  397.  
  398.     * sed.c (compile_program):  define translate as unsigned char * so
  399.     that y command will work on non-ascii characters.
  400.  
  401.     Changed version number to 1.06.
  402.  
  403. Thu Sep 14 15:57:08 EDT 1989        hack@ai.mit.edu
  404.  
  405.     * sed.c  (compile_program)  Let programs use ; to terminate } as
  406.     well as newline.
  407.  
  408.     (read_file) Print an error msg to stderr if it can't open an
  409.      input file.
  410.  
  411. Thu Mar 23 18:04:46 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
  412.  
  413.     * Makefile, sed.c: Added new copyright notice.
  414.  
  415.     * Makefile: Make distributions which follow the symlinks.
  416.  
  417. hack@ai.mit.edu
  418.  
  419.     1.05    Fixed error in 'r' (now does things in the right order)
  420.  
  421.     1.04    Fixed s/re/rep/[number]
  422.  
  423.     1.03    Fixes from Mike Haertel for regexps that match the
  424.         empty string, and for Ritchie stdio (non-sticky EOF)
  425.  
  426.     1.02    Fixed 't', 'b', ':' to trim leading spaces and tabs
  427.         Fixed \\ in replacement of 's' command
  428.         Added comments
  429.  
  430.     1.01    Added s/re/rep/[digits]
  431.         added #n as first line of script
  432.         added filename globbing
  433.         added 'l' command
  434.         All in the name of POSIX
  435.  
  436.     1.00    Began (thinking about) distributing this file
  437.  
  438. Local Variables:
  439. mode: indented-text
  440. left-margin: 8
  441. version-control: never
  442. End:
  443.